package com.lagou.serializer;

import java.io.IOException;

public interface Serializer {

    byte[] srializer(Object object) throws IOException;

    <T> T deSerializer(Class<T> z ,byte[] bytes) throws IOException;
}
